package com.xs.designpattern;

import lombok.extern.slf4j.Slf4j;

/**
 * @author xs
 */
@Slf4j
public class SoulEatingEnchantment implements Enchantment {
    @Override
    public void onActivate() {
        log.info("该物品传播嗜血...");
    }

    @Override
    public void apply() {
        log.info("该物品会吞噬敌人的灵魂...");
    }

    @Override
    public void onDeactivate() {
        log.info("嗜血之情慢慢消失...");
    }
}
